const merge = require('webpack-merge');
const path = require('path')
const base = require('./webpack.base.config')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')

module.exports = merge(base, {
    devServer: {
        contentBase: path.join(__dirname, "../dist"),
        compress: true,
        // host: '10.68.46.173',
        port: 9000,
        open: true,
        hot: true
    },
    mode: 'development',
    devtool: "source-map",
    resolve: {
        alias: {
            'vue': 'vue/dist/vue.js'
        }
    },
})